<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>我的闲渔</title>
<!-- 客服meta -->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width,initial-scale=1.0,maximum-scale=1">
<meta name="keywords"
	content="pvr, pvr tech studio, css chat box, pvr admin, pvr tech admin" />
<meta name="description"
	content="PVR Tech Studio, We Design your Future.">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="data-spm" content="a1z02" />
<meta name="description" content="中国最大、最安全的网上交易社区，尽享闲渔乐趣！" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet"
	href="css/myxianyu/be55ce2dc5294340830997a946c5501e.css">
<link rel="stylesheet" href="css/myxianyu/init.css" type="text/css" />
<!-- 客服link -->
<link rel="icon" href="assets/img/favicon/favicon-32x32.png">
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700'
	rel='stylesheet' type='text/css'>

<!-- ***** Boostrap Custom / Addons Stylesheets ***** -->
<link href="assets/plugins/bootstrap/css/bootstrap.min.css"
	rel="stylesheet" />
<link href="assets/plugins/material_icon/icon.css" rel="stylesheet" />

<!-- Required CSS file for CSS Chat Panels element -->
<link
	href="assets/plugins/perfect-scrollbar/css/perfect-scrollbar.min.css"
	rel="stylesheet" />
<link rel="stylesheet" href="assets/css/chat_box.css" type="text/css"
	media="all">
<script type="text/javascript" src="js/common/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="js/common/bootstrap.min.js"></script>
<script type="text/javascript">
	const mtMenuFlags = {
		editEnable : true,
		enableFetchRemoteMenu : true,
		showB2BMenu : false
	};
	var __MT_MENU_FLAGS = JSON.stringify(mtMenuFlags);
</script>

<style>
.mt-ml-c1 .persons {
	background-color: rgb(233, 234, 236);
	height: 80px;
}

.mt-ml-c1 .persons img {
	/* 设置圆形 */
	border-radius: 50%;
	float: left;
	margin-left: 20px;
	margin-top: 10px;
	/* position: relative;
           top: 10px;
           left: 10px; */
}

.mt-ml-c1 .persons .username {
	float: left;
	margin-left: 20px;
	padding-top: 20px;
	letter-spacing: 2px;
}

.mt-ml-c1 .persons .introduction {
	float: left;
	margin-left: 40px;
	letter-spacing: 2px;
}

.mt-ml-c1 .persons .introduction p {
	margin-left: 40px;
	padding-top: 2px;
	letter-spacing: 2px;
}

.mt-header .mt-logo p {
	color: rgb(233, 234, 236);
	font-size: 25px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}
</style>
</head>

<body data-spm="1">
	<script type="text/javascript">
		(function(d) {
			var t = d.createElement("script");
			t.type = "text/javascript";
			t.async = true;
			t.id = "tb-beacon-aplus";
			t.setAttribute("exparams", "category=&userid=2669296595&aplus");
			t.src = ("https:" == d.location.protocol ? "https://s" : "http://a")
					+ ".tbcdn.cn/s/aplus_v2.js";
			d.getElementsByTagName("head")[0].appendChild(t);
		})(document);
	</script>

	<script type="text/javascript">
		if (document.body.clientWidth <= 1024 || window.screen.width < 1190) {
			document.body.className = 'mt-ml-990';
		} else {
			document.body.className = 'mt-ml-1190';
		}
	</script>
	<!-- start ems/mytaobao/header -->
	<link rel="stylesheet" href="css/myxianyu/base.css">



	<header class="mt-header" data-spm="a210b">
		<article>
			<div class="mt-logo" style="margin-left: 0px;">
				<p>我的闲渔</p>
			</div>
			<nav class="mt-nav">
				<ul id="J_MtMainNav">
					<li class="selected"><a href="index" data-spm="d1000352">首页</a>
						<i class="mt-arrow"></i></li>
					<li class="J_MtNavSubTrigger"><a class="mt-nav-parent"
						href="#" data-spm="d1000356">账户设置<i><em></em><s></s></i></a> <i
						class="mt-arrow"></i>
						<div class="J_MtNavSub mt-nav-sub hide">
							<div class="mt-nav-arr"></div>
							<dl class="mt-nav-sub-col1">
								<dt>安全设置</dt>
								<dd>
									<p>
										<a data-spm="11"
											href="//110.taobao.com/account/product_validate.htm?type=password">修改登录密码</a>
									</p>
									<p>
										<a data-spm="12"
											href="//110.taobao.com/account/rebind_phone_begin.htm">手机绑定</a>
									</p>
									<p>
										<a data-spm="13"
											href="//110.taobao.com/product/question_set.htm">密保问题设置</a>
									</p>
									<p>
										<a data-spm="10"
											href="//member1.taobao.com/member/fresh/account_security.htm">其他</a>
									</p>
								</dd>
							</dl>
							<dl class="mt-nav-sub-col2">
								<dt>个人资料</dt>
								<dd>
									<p>
										<a data-spm="8"
											href="//member1.taobao.com/member/fresh/deliver_address.htm">收货地址</a>
									</p>
									<p>
										<a data-spm="14" href="//i.taobao.com/user/baseInfoSet.htm">修改头像、昵称</a>
									</p>
									<p>
										<a data-spm="15"
											href="//msg.taobao.com/message/message_set.htm">消息提醒设置</a>
									</p>
								</dd>
							</dl>
							<dl class="mt-nav-sub-col3">
								<dt>账号绑定</dt>
								<dd>
									<p>
										<a data-spm="7"
											href="//member1.taobao.com/member/fresh/account_management.htm">支付宝绑定</a>
									</p>
									<p>
										<a data-spm="16"
											href="//member1.taobao.com/member/fresh/weibo_bind_management.htm">微博绑定</a>
									</p>
								</dd>
							</dl>
						</div></li>

				</ul>
				<div class="search" id="J_Search" role="search">
					<div class="search-panel search-sns-panel-field">
						<form target="_blank" action="//s.taobao.com/search" name="search"
							id="J_TSearchForm" class="search-panel-focused">
							<div class="search-button">
								<button class="btn-search" type="submit">搜 索</button>
							</div>
							<div class="search-panel-fields">
								<label for="q"></label>
								<div class="search-combobox" id="ks-component1045">
									<div class="search-combobox-input-wrap">
										<input id="q" name="q" accesskey="s" autofocus="true"
											autocomplete="off" x-webkit-speech=""
											x-webkit-grammar="builtin:translate" aria-haspopup="true"
											aria-combobox="list" role="combobox"
											class="search-combobox-input" aria-label="请输入搜索文字或从搜索历史中选择">
									</div>
								</div>
							</div>
							<input type="hidden" name="commend" value="all"> <input
								type="hidden" name="ssid" value="s5-e" autocomplete="off">
							<input type="hidden" name="search_type" value="mall"
								autocomplete="off"> <input type="hidden" name="sourceId"
								value="tb.index"> <input type="hidden" name="area"
								value="c2c"> <input type="hidden" name="spm"
								value="a1z02.1.6856637.d4910789">
							<!--[if lt IE 9]><s class="search-fix search-fix-panellt"></s><s class="search-fix search-fix-panellb"></s>
                        <![endif]-->
						</form>
					</div>
				</div>
			</nav>

		</article>
	</header>
	<!-- end ems/mytaobao/header -->
	<div id="layout-center">
		<div class="grid-c2">
			<div id="J_Col_Main" class="col-main">
				<div class="main-wrap">

					<div class="mt-ml-c1">
						<div class="mt-ml-shim">

							<a style="display: none !important"
								id="tanx-a-mm_12852562_1778064_95094163"></a>
							<!-- 个人头像，简介 -->
							<div class="persons">
								<div class="img">
									<img src="images/myxianyu/myxianyu.png" />
								</div>
								<div class="username">最帅的那个人</div>
								<div class="introduction">
									个人简介：
									<p>我是傻逼</p>
								</div>
							</div>
							<div data-spm="1998049142"
								class="m-logistics g-box-base g-mb-set">
								<div class="s-bar">已买到的宝贝</div>
								<div class="s-content">
									<ul class="lg-list">
									<div id="tishi" style="text-align: center;">数据加载中...</div>
										<!-- 动态加载 -->
										<script type="text/javascript">
											$(function() {
												$(function() {
													$.post("myInfo/doFindPageObjects", function(data) {
														doSetTableBodyRows(data);
														Goods(data.data.id);
													});
													//请求用户信息

												});
												function doSetTableBodyRows(data) {
													//1.获取tbody对象，并清空内容
													var tBody = $(".persons");
													tBody.empty();
													//2.迭代data内容将数据追加到tbody

													var tds = "<div class='img'>"
															+ "<img src='images/myxianyu/myxianyu.png' />" + "</div>"
															+ "<div class='username'>" + data.data.username + "</div>"
															+ "<br>" +

															"<div class='introduction'>" + "个人简介:" + "<p>"
															+ data.data.introduction + "</p>" + "</div>";

													tBody.append(tds);
												}
												// //已购买商品信息
											 	function Goods(id) {
													$.ajax({
														type : "GET",
														url : "myInfo/doPurchaseGoods",
														data : {
															"buyeId" : id
														},
														success : function(data) {
															console.log(data);
															showGoods(data.data);
														}
													})
												}
												//动态显示数据
												function showGoods(data){
													//清除内容
													$("#tishi").empty();
													if(data.length<1){
														console.log(data.length);
														$("#tishi").text("还没有买到的宝贝哦");
													}
													var strs= new Array(); //定义一数组 
													let goods="";
													for(let i=0;i<data.length ;i++){
														
														strs=data[i].imgUrl.split(";"); //字符分割 ,分割图片地址
														/* li */
														 goods +="<li class='lg-item'><div class='item-info'><a data-spm='d4919535' target='_blank'>"
														 		+"<img src='"+strs[0]+"'/></div>"
														 		+"<div style='font-size:18px;' class='lg-info'><p>商品描述:"+data[i].content+"</p>"
														 		+"<div class='lg-info'>"
														 		+"<p>购买数量:"+data[i].number+"</p>"
														 		+"<p>单价:"+data[i].price+"</p>"
														 		+"<p>单号:"+data[i].orderNo+"</p>"
														 		+"<p>发货地:"+data[i].sendAddr+"</p>"
														 		+"<p>购买时间："+data[i].createdTime+"</p>"
														 		+"<div class='lg-detail-wrap'>"
														 		+"<div class='J_TipsCon hide'>"
														 		+"</div></div></div></li>"
														 $(".s-content .lg-list").append(goods);//添加页面
														 goods="";//情况临时数据
													}
												}
											});
										</script>
										
									</ul>

								</div>
							</div>
						</div>
					</div>

				</div>
			</div>
			<section id="J_Col_Sub" class="col-sub">
				<div id="J_EMS" style="width: 0; height: 0;"></div>
				<aside class="mt-menu" id="J_MtSideMenu">
					<div class="mt-menu-tree">
						<dl class="mt-menu-item" data-spm="a2109">
							<dt class="fs14">已买到的宝贝</dt>
							<dd>
								<a href="//cart.taobao.com/cart.htm?nekot=1470211439694"
									target="_blank" role="menuitem" data-spm="d1000367">已卖出的宝贝</a>
							</dd>
							<dd class="mt-menu-sub fold J_MtSideTree">
								<b class="mt-indicator J_MtIndicator">-</b> <a id="bought"
									href="#" data-spm="d1000368">已发布的宝贝</a>

							</dd>
							<dd id="boughtShop">
								<a
									href="//favorite.taobao.com/list_bought_shops_n.htm?itemtype=0&amp;nekot=1470211439694"
									data-spm="d1000373">我的收藏</a>
							</dd>

							<dd id="favorite">
								<a
									href="//shoucang.taobao.com/collectList.htm?nekot=1470211439694"
									data-spm="d1000374">我的评价</a>
							</dd>
							<dd id="point">
								<a href="//vip.tmall.com/point/all?nekot=1470211439694"
									target="_blank" data-spm="d1000375">我的购物车</a>
							</dd>
							<dd id="gotBonus">
								<a href="addgoods.html"
									data-spm="d1000376">去发布商品</a>
							</dd>
						</dl>
						<style></style>
					</div>
				</aside>
			</section>
		</div>
	</div>
	<!-- 客服插件元素 -->
	<div class="container perfect_scrollbar" id="container">
		<div class="pvr_chat_button">
			<i class="material-icons">chat</i> <span>客户服务</span>
		</div>
		<div class="pvr_chat_wrapper">
			<div class="pvr_chat_content">
				<div class="close_chat">
					<i class="material-icons">close</i>
				</div>
				<div class="chat_header">
					<div class="pvr-user-w with-status status-green">
						<div class="pvr-user-avatar-w">
							<div class="user-avatar">
								<img alt="" src="assets/img/avatar/default-avatar.png">
							</div>
						</div>
						<div class="user-name">
							<h6 class="user-title">
								<a target="_blank"> 客服-复读机</a>
							</h6>

						</div>
					</div>
					<div class="chat-messages theme_2">
						<div class="message">
							<div class="message-content">请在下方输入框输入问题描述...</div>
						</div>

						<div class="message">
							<div class="message-contents">
								<a
									href="http://wpa.qq.com/msgrd?v=3&uin=205768886&site=qq&menu=yes"
									target="_blank"> 或单击跳转人工</a>
							</div>
						</div>
					</div>
					<div class="chat-controls">
						<input class="message-input" id="message-input"
							placeholder="输入您的问题描述" type="text">
						<div class="chat-extra">
							<a href="javascript:void(0)"> <span class="extra-tooltip">添加链接
							</span> <i class="material-icons">attach_file</i>
							</a> <a href="javascript:void(0)"> <span class="extra-tooltip">添加图片
							</span> <i class="material-icons">add_a_photo</i>
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
</body>
<script src="assets/plugins/jquery/jquery-3.2.1.min.js"
	type="text/javascript"></script>
<script
	src="assets/plugins/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js"
	type="text/javascript"></script>
<script src="assets/plugins/backstretch/backstretch.js"
	type="text/javascript"></script>
<script src="assets/js/app.js"></script>
 <script type="text/javascript">
/* 	$(function() {
		$.post("myInfo/doFindPageObjects", function(data) {
			doSetTableBodyRows(data);
			Goods(data.data.id);
		});
		//请求用户信息

	});
	// //已购买商品信息
 	function Goods(id) {
		$.ajax({
			type : "GET",
			url : "myInfo/doPurchaseGoods",
			data : {
				"buyeId" : id
			},
			dataType : "json",
			success : function(data) {
				console.log(data);

			}
		})
	}
	function doSetTableBodyRows(data) {
		//1.获取tbody对象，并清空内容
		var tBody = $(".persons");
		tBody.empty();
		//2.迭代data内容将数据追加到tbody

		var tds = "<div class='img'>"
				+ "<img src='images/myxianyu/myxianyu.png' />" + "</div>"
				+ "<div class='username'>" + data.data.username + "</div>"
				+ "<br>" +

				"<div class='introduction'>" + "个人简介:" + "<p>"
				+ data.data.introduction + "</p>" + "</div>";

		tBody.append(tds);
	} */
</script> 

</html>